// 自己定义的
import myFun from './fun.js';

// return 'http://mycard.com/index.php'
// return process.env.NODE_ENV !== 'development' ? 'http://127.0.0.1:1888' : 'http://mycard.com'
// return process.env.NODE_ENV !== 'development' ? 'http://127.0.0.1:1888' : 'https://card.qqinfor.com'

const shopId = 34
// #ifndef H5
// const serverHost = 'https://card.qqinfor.com'
// #endif
// #ifdef H5
// const serverHost = 'http://mycard.com'
const serverHost = 'http://127.0.0.1:8100/index.php';
// const serverHost = 'http://localhost:3000/#/';
// const serverHost = 'http://h5.qqinfor.com'
const currHost = 'http://localhost:3000/#/';
// const currHost = 'http://h5.qqinfor.com/#/';
// const serverHost = 'http://127.0.0.1:8100';
// const serverHost = 'http://localhost:5173/#/';
// const serverHost = 'http://h5.qqinfor.com'
// const currHost = 'http://localhost:5173/#/';
// const currHost = 'http://h5.qqinfor.com/#/';
const goodsHost = 'https://web.qqinfor.com/goodsDetail/';
// #endif

const $my = {
	...myFun,
	shopId,
	serverHost,
	currHost,
	goodsHost
}
// $my挂载到uni对象上
// uni.$my = $my;
export default {
	$my
}